package cn.maidouya.product.mapper;

import cn.maidouya.basic.mapper.BaseMapper;
import cn.maidouya.product.domain.Product;
import cn.maidouya.product.domain.ProductDetail;

import java.util.Map;

public interface ProductDetailMapper extends BaseMapper<ProductDetail> {
    // 根据服务id删除详情页
    void deleteByProductId(Long productId);
    // 服务和详情页回显
   ProductDetail loadDetailByProductId(Long productId);
    // 批量删除详情页
    void batchDeleteByProductids(Map<String, Object> map);
}
